<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单常用的控件</title>
</head>
<body>

<form action="??" method="get">
    <!--    文本框  disable放表单禁用-->
    <label>
        账号<input type="text" disabled name="username" value="123456">
        <br>
    </label>

    <!--    密码框-->
    <label>
        密码<input type="password" name="password" value="123456">
        <br>
    </label>

    性别:
    <label>
        <input type="radio" name="gender" value="boy" checked>男
    </label>
    <input type="radio" disabled name="gender" id="girl" value="girl"><label for="girl">女</label>
    <br>

    <!--    复选框-->
    爱好:
    <label><input type="checkbox" name="hobbit" value="cy" checked>抽烟</label>
    <label><input type="checkbox" disabled name="hobbit" value="hj">喝酒</label>
    <label><input type="checkbox" name="hobbit" value="tt">烫头</label>
    <br>

    <label>
        所在省份<select name="option">
        <option value="gd">广东</option>
        <option value="gx" disabled>广西</option>
        <option value="hn">河南</option>
        <option value="hb">河北</option>
    </select>
        <br>
    </label>

    <input type="submit" value="提交">
    <input type="submit" disabled value="提交">

</form>

</body>
</html>